import request from '@/utils/request'

export default {
    getList(data) {
        return request({
            url: "v1/mes/auth-menus",
            method: "get"
        });
    },
    create(data) {
        return request({
            url: "v1/mes/create-auth-menu",
            method: "post",
            data
        });
    },
    modify(data) {
        return request({
            url: "v1/mes/modify-auth-menu",
            method: "post",
            data
        });
    },
    delete(data) {
        return request({
            url: "v1/mes/delete-auth-menu",
            method: "post",
            data
        });
    }
}